package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("gr_user")
public class GrUserDO {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String phone;
    private String openId;
    private String unionId;
    private String iconUrl;
    private String nickName;
    /**
     * 卡型ID为空说明不是会员，不为空说明是会员
     */
    private Integer cardId;
    /**
     * 1-管理员 2-普通用户
     */
    private Integer roleType;
    private Long lastLoginTime;
    private Long createTime;
    private String createBy;
    private Long updateTime;
    private String updateBy;
    private Long validityStartTime;
    private Long validityEndTime;
}
